package com.yihaodian.search.broker.shard;

import java.io.Serializable;

import com.yihaodian.api.common.Request;
import com.yihaodian.api.index.IndexRequest;

public class ShardIndexRequest implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = -1587008433449326027L;

	public IndexRequest indexRequest;

	public String shardId;

	public ShardIndexRequest() {

	}

	public ShardIndexRequest(String shardId, IndexRequest indexRequest) {
		this.shardId = shardId;
		this.indexRequest = indexRequest;
	}

	public String getShardId() {
		return shardId;
	}

	public void setShardId(String shardId) {
		this.shardId = shardId;
	}

	public IndexRequest getIndexRequest() {
		return indexRequest;
	}

	public void setIndexRequest(IndexRequest indexRequest) {
		this.indexRequest = indexRequest;
	}

}
